-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fixed #14261 - Regex: added std::regex implementation / added engine to rule XML to specify regex engine
#7893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Might make sense to be able to specify the type via a rule file as well. That would also allow to mix and match the engines depending on required performance/features. Or maybe even only allow it via a file so to not add another CLI option and not having to deal with the left-to-right issues. |
|
This will only add the additional engine. I will also do some performance tests. The follow-up steps are:
|
|
thanks for working on this. 👍 |
@danmar any comment on this? |
|
No comment so I will go with the way to specify the engine via XML only and not providing a CLI option for it. |
d2a9725 to
e3ff0a0
Compare
std::regex implementationstd::regex implementation
I filed some tickets for those: |
|
The documentation on how to use rules is unfortunately some PDFs hosted at Sourceforge so there is nowhere to add the new field. I filed https://trac.cppcheck.net/ticket/14264 about migrating the documentation. |
std::regex implementationstd::regex implementation / added engine to rule XML to specify regex engine
|
Great - Why am I not surprised?! And on macos |
…ne` to rule XML to specify regex engine
Apparently So that partially derails the plan going forward and makes things more awkward. And I have not even profiled it yet... |
|
|
Coincidentally Visual Studio 2026 was released just a few hours ago and I can confirm that the test passes in it. |



No description provided.